﻿using Microsoft.SharePoint;

namespace Xodeuz.SP.Common
{
    public class CamlQuery
    {
        public static SPQuery GetAllItemsRecursive = new SPQuery
        {
            Query = GetAllItems,
            ViewAttributes =  "Scope=\"Recursive\""
        };

        private const string GetAllItems = "<Where><Neq><FieldRef Name='ID' /><Value Type='Counter'>-1</Neq></Where>";
    }
}
